package com.homeWork;

public class Teacher1 extends Person1 {
    private int jobnum;
    private double salary;
    private String teachnicalTitle;

    public Teacher1(String name, String sex, int age, int jobnum, double salary, String teachnicalTitle) {
        super(name, sex, age);
        this.jobnum = jobnum;
        this.salary = salary;
        this.teachnicalTitle = teachnicalTitle;
    }

    public Teacher1() {

    }

    public int getJobnum() {
        return jobnum;
    }

    public void setJobnum(int jobnum) {
        this.jobnum = jobnum;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getTeachnicalTitle() {
        return teachnicalTitle;
    }

    public void setTeachnicalTitle(String teachnicalTitle) {
        this.teachnicalTitle = teachnicalTitle;
    }
}
